/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.upgrade.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.upgrade.entity.Upgrade;
import com.jeeplus.modules.upgrade.mapper.UpgradeMapper;

/**
 * 版本更新Service
 * @author lixinapp
 * @version 2019-10-14
 */
@Service
@Transactional(readOnly = true)
public class UpgradeService extends CrudService<UpgradeMapper, Upgrade> {

	public Upgrade get(String id) {
		return super.get(id);
	}
	
	public List<Upgrade> findList(Upgrade upgrade) {
		return super.findList(upgrade);
	}
	
	public Page<Upgrade> findPage(Page<Upgrade> page, Upgrade upgrade) {
		return super.findPage(page, upgrade);
	}
	
	@Transactional(readOnly = false)
	public void save(Upgrade upgrade) {
		super.save(upgrade);
	}
	
	@Transactional(readOnly = false)
	public void delete(Upgrade upgrade) {
		super.delete(upgrade);
	}
	
}